package com.example.a2209_shop.database

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.base.entity.ChipEntity

@Dao
interface ChipDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insertChip(chipEntity: ChipEntity)

    @Query("select * from chip_info")
    fun queryChip():List<ChipEntity>
}